package com.csi.sai.utilities.properties;

import java.util.ResourceBundle;

public class ResourceBundleManager {
	
	public static String getMessageFromResourceBundle(String key) {
		ResourceBundle rb = ResourceBundle.getBundle("com/csi/sai/utilities/properties/messages");
		return rb.getString(key);
	}
	
	public static String obtenerEntidadFederativa(String key) {
		ResourceBundle rb = ResourceBundle.getBundle("com/csi/sai/utilities/properties/entidades");
		return rb.getString(key);
	}
	
	public static void main(String[] args) {
		System.out.println(getMessageFromResourceBundle("msg001"));
	}

}
